package org.example.booksmanagementsystem.redissync;

public class IdStatic {
    private static  Integer id = 100000;

    public static Integer getId() {
        Integer currentId = id  ;

        id = id +1;

        return currentId;
    }

    public static void setId(Integer idMax){
        id = idMax;
    }

}
